sqoop import \
--connect jdbc:mysql://node101:3306/jtp_tmp \
--username root \
--password 123456 \
--as-textfile \
--query 'SELECT ID,AMT,ORDER_STATUS,USER_ID,CREATE_TIME,MODIFY_TIME FROM t_order WHERE $CONDITIONS AND 1 = 1;' \
--delete-target-dir \
--target-dir 'hdfs://node101:8020/warehouse/app_basic/t_order/2024-12-27' \
--fields-terminated-by '\t' \
--num-mappers 1 \
--null-string '\\N' \
--null-non-string '\\N'